package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weixing.mall.provider.model.domain.MediaLabel;
import com.weixing.mall.provider.model.query.MediaLableQuery;
import com.weixing.mall.provider.model.vo.ads.MediaLableFormVo;
import com.weixing.mall.provider.model.vo.ads.MediaLableVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 媒体标签 Mapper 接口
 * </p>
 *
 * @author Small
 * @since 2019-11-18
 */
public interface MediaLabelMapper extends BaseMapper<MediaLabel> {

    IPage<MediaLableVo> selectListOfPage(@Param("pg") Page page,@Param("qs") MediaLableQuery mediaLableQuery);


    List<MediaLableFormVo> selectMediaLablList();

    List<MediaLableVo> selectListOfPage(@Param("qs")MediaLableQuery mediaLableQuery);
}
